home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / 3d_lib.zip / TCMONE.BAT < prev    next >
DOS Batch File  |  1990-02-14  |  2KB  |  45 lines

  1. echo off
  2. REM Batch file to compile 3D TRANSFORMS and add to library
  3. REM for just one memory model.
  4. REM
  5. REM Usage is:
  6. REM
  7. REM         tcmone [t,s,c,m,l,h]
  8. REM
  9. REM where the single letter parameter specifies the memory model as
  10. REM described below.
  11. REM
  12. REM Compile options are:
  13. REM  -a-           byte alignment
  14. REM  -C            nested comments on
  15. REM  -c            compile to OBJ (no link)
  16. REM  -f            floating point emulation
  17. REM  -I..\include  include files path
  18. REM  -K-           default char type unsigned
  19. REM  -L..\lib      library files path
  20. REM  -G            optimize for speed
  21. REM  -m?           memory model   ? = t for TINY
  22. REM                               ? = s for SMALL
  23. REM                               ? = c for COMPACT
  24. REM                               ? = m for MEDIUM
  25. REM                               ? = l for LARGE
  26. REM                               ? = h for HUGE
  27. REM  -p-           C calling convention
  28. REM  -r            user register variables
  29. REM  -w            display warnings
  30. REM
  31. REM  Memory model model is defined as above by parameter %1.
  32. REM
  33. tcc -a- -C -c -f -I..\..\include -K -L..\..\lib -G -m%1 -p- -r -w id.c dp.c mm.c
  34. tcc -a- -C -c -f -I..\..\include -K -L..\..\lib -G -m%1 -p- -r -w norm.c vm.c scale.c
  35. tcc -a- -C -c -f -I..\..\include -K -L..\..\lib -G -m%1 -p- -r -w trans.c xrot.c yrot.c
  36. tcc -a- -C -c -f -I..\..\include -K -L..\..\lib -G -m%1 -p- -r -w zrot.c dumpm.c persp.c
  37. tcc -a- -C -c -f -I..\..\include -K -L..\..\lib -G -m%1 -p- -r -w df.c do.c ac.c
  38. tcc -a- -C -c -f -I..\..\include -K -L..\..\lib -G -m%1 -p- -r -w nf.c xf.c delf.c
  39. tcc -a- -C -c -f -I..\..\include -K -L..\..\lib -G -m%1 -p- -r -w mxz.c mnz.c af.c
  40. tcc -a- -C -c -f -I..\..\include -K -L..\..\lib -G -m%1 -p- -r -w no.c dumpv.c dumpf.c
  41. tcc -a- -C -c -f -I..\..\include -K -L..\..\lib -G -m%1 -p- -r -w dumpo.c
  42. tlib 3d%1 +-id +-dp +-mm +-norm +-vm +-scale +-trans +-xrot +-yrot
  43. tlib 3d%1 +-zrot +-dumpm +-df +-do +-ac +-nf +-xf +-mxz +-mnz
  44. tlib 3d%1 +-delf +-af +-no +-dumpv +-dumpf +-dumpo
  45.